<div class="fieldgroups">
{{foreach fg in field_groups}}
{{if fg.fields.length}}
<div class="fieldgroup">
	<div class="name">{{fg.name}}</div>
	<div class="fieldsinfo">
		{{foreach field in fg.fields}}
			<div class="fieldinfo"><span class="name">{{field.name}}</span><span class="value">{{field.value}}</span></div>
		{{/foreach}}
	<div class="cl"></div>
	</div>
</div>
{{/if}}
{{/foreach}}
	<div class="cl"></div>
</div>
